/*
 * Server.h
 *
 *  Created on: 19.11.2013
 *      Author: ulgish
 */

#ifndef SERVER_H_
#define SERVER_H_
#include <sys/dispatch.h>
#include <SyncWriter.h>
class Server {
	name_attach_t* srv;
	char buf[1024];
	Server();
	Server(const Server& orig);
public:
	Server(const std::string& channelName);
	void start();
	virtual ~Server();
};

#endif /* SERVER_H_ */
